test: Skip GtkScrolledWindow::max-content- properties
authorMatthias Clasen <mclasen@redhat.com>
Wed, 8 Jun 2016 13:03:12 +0000 (09:03 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 8 Jun 2016 13:04:33 +0000 (09:04 -0400)
The allowed values for the max-content- properties depend
on the value of the min-content- properties, in a way that
our simple test is not prepared to deal with. Just skip
them for now.

testsuite/gtk/notify.c

index 49e567343e1c240c5a592ee5d5a7e69c33dcd65c..4761988a8cd9080af0418622f5541bcd0a0b1162 100644 (file)
@@ -674,6 +674,12 @@ test_type (gconstpointer data)
          g_str_equal (pspec->name, "font-name"))
        continue;
 
+      /* these depend on the min-content- properties in a way that breaks our test */
+      if (g_type_is_a (type, GTK_TYPE_SCROLLED_WINDOW) &&
+         (g_str_equal (pspec->name, "max-content-width") ||)
+          g_str_equal (pspec->name, "max-content-height"))
+       continue;
+
       if (g_test_verbose ())
         g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);